<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>账号登录</title>
    <link rel="stylesheet" type="text/css" href="/css/reset.css">
    <link rel="stylesheet" type="text/css" href="/css/login.css">

</head>
<body>
<div id="login-container">

    <h2>账号登录</h2>
    <br />
    <form action="home" method="post">
        <input type="hidden" name="token" th:value="${token}"><br/>
        <input type="text" id="userid" class="userName" placeholder="手机号" name="phone"><br/>
        <input type="password" id="password" class="password" placeholder="密码" name="password"><br/>
        <a class="forgetPass" href="register">注册账号</a><br/>
        <a class="forgetPass" href="findPwd">忘记密码?</a><br/>
        <button class="loginBtn" id="sub" type="submit">登录</button><br/>
    </form>

    <p id="errorInfo" th:text="${error}"></p>

</div>

</body>
</html>